package com.bdzl.pojo;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * Bd entity. @author MyEclipse Persistence Tools
 * BD信息
 */
@Entity
@Table(name = "bd")
@DynamicUpdate(true)
public class Bd   {

	// Fields

	private Integer id;
	private String tel;// 电话号码  
	private String url;//  公众号二维码图片地址 
	private String logo;// 公司展示图标 
	private String introduction;// 公司简介
	private String help;//帮助文档，规则

	// Constructors

	/** default constructor */
	public Bd() {
	}

	/** full constructor */
	public Bd(String tel, String url, String logo, String introduction,
			String help) {
		this.tel = tel;
		this.url = url;
		this.logo = logo;
		this.introduction = introduction;
		this.help = help;
	}

	// Property accessors
	@Id
	@GeneratedValue
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "tel")
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "url")
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name = "logo")
	public String getLogo() {
		return this.logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@Column(name = "introduction")
	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	@Column(name = "help")
	public String getHelp() {
		return this.help;
	}

	public void setHelp(String help) {
		this.help = help;
	}
}
